<div class="blazorise-codeblock">
<div class="csharp"><pre>
<span class="keyword">public</span> record Platform(<span class="keyword">string</span> Name, <span class="keyword">string</span> TextColor, <span class="keyword">string</span> BackgroundColor, <span class="keyword">string</span> IconName, <span class="keyword">string</span> Href)
{
    <span class="keyword">public</span> <span class="keyword">static</span> Platform X =&gt; <span class="keyword">new</span> Platform(<span class="string">&quot;X&quot;</span>, <span class="string">&quot;white&quot;</span>, <span class="string">&quot;x&quot;</span>, <span class="string">&quot;fa-brands fa-x&quot;</span>, <span class="string">&quot;https://twitter.com/intent/tweet&quot;</span>);
    
    <span class="comment">// your social media platform can go here.</span>
}
</pre></div>
</div>
